<div id="content_left">
	<!-- Form title information -->
	<div class="top">
		<img src="<?php echo base_url()?>tkb_images/tkb_layout/tkb_icon/icon16/ok16-user.png" alt=""/>
		<?php echo 'Thư viện ảnh'; ?>
	</div>
	<div class="middle">				
	<?php if($g_form_message!=''):?>
	<div class="tkb_module_message"><?php echo $g_form_message?></div>
	<?php endif;?>
		<div style="text-align:right;" class="label_text">
		<?php echo $lbl_total_row?> : <?php echo $g_row_count?>	
	</div>

	<div id="div_1">
		<?php 
				$tmp_count  = 0;
				$i		 	= 0;
				$tmp_count  = count($g_obj_data)>0 ? (count($g_obj_data)):0;
				if($tmp_count >0)
				{
					
			?>
			<div style="overflow:hidden;">
			<?php
				foreach ($g_obj_data as $detail):
			?>	
				<div style="float:left ; padding-left:60px;padding-top:30px;">
					<img src="<?php echo str_replace('/backend','',base_url()).'tkb_upload/img_mce/'.$detail['cimg_name_encrypt']; ?>" width="90" height="100"/><br />
					<input type="checkbox" value="<?php echo $detail['nid'] ;?>"   name="img_check[]"/>
					<a href="#" style="text-decoration:underline;" title="<?php echo $detail['cimg_name'] ;?>"><?php echo Fstr_limit($detail['cimg_name'],8)?> </a>
				</div>
			<?php	
				$i++;
				if($i %4 ==0){
			?>
			</div>
			<div style="overflow:hidden">
				<?php
				}
				endforeach;
				?>
				
			</div>
			<?php 
				}
			?>
			
	  </div>
		
	<div class="tkb_module_link_listview_bottom link_submit" style="padding-top:30px;">
		<a href="javascript:js_add_object();"><?php echo $lbl_add_new?> </a>
		<a href="#" onclick="javascript:tkb_submit_form();" onMouseOut="HideTooltip();">Xóa</a>	
		<a href="javascript:js_advance_search();"
		onMouseOver="ShowTooltip('<?php echo base_url()."index.php/ajax/ajax_advertise_advance_search";?>'); return false;" onMouseOut="HideTooltip();" ></a>	</div>				
	</div>
		
	<div class="bottom">
	</div>
	<div style="float:left;" class="label_text">		
		<?php echo $lbl_row_per_page?> 
		<?php echo $gencbo_g_row_per_page?>
		<input type="button" value="<?php echo $lbl_select?>" onclick="javascript:js_select_row_per_page();">
	</div>
	<div style="float:right;" class="label_text">
		<?php if($lbl_previous!=''): ?>
		<input type="button" value="<?php echo $lbl_previous?>" onclick="javascript:js_select_previous_page();"/>
		<?php endif;?>
		<?php if($lbl_next!=''): ?>
		<input type="button" value="<?php echo $lbl_next?>" onclick="javascript:js_select_next_page();"> 
		<?php endif;?>
		<?php echo $lbl_page?> 
		
		<input type="text" size="5" style="text-align:center;" id="g_current_page"  name="g_current_page" value="<?php echo $g_current_page?>"> / <?php echo $g_page_count?>
		<input type="button" value="<?php echo $lbl_select?>" id="btn_current_page" name="btn_current_page" onclick="javascript:js_select_current_page();"> 				
	</div> 
	
</div>	